<cfset variables["lin.derek.cf.framework"] = structNew()>
<cfobject component="fn" name="foo">
<cfset variables["lin.derek.cf.framework"]["functions"] = foo>
<cfset variables["lin.derek.cf.framework"]["temp"] = structNew()>
<cfset variables["lin.derek.cf.framework"]["folders"] = structNew()>
<cfset variables["lin.derek.cf.framework"]["defaults"] = structNew()>
<cfset variables["lin.derek.cf.framework"]["current"] = structNew()>

<cfset variables["lin.derek.cf.framework"]["actionKeyWord"] = "goto">
<cfset variables["lin.derek.cf.framework"]["folders"]["circuits"] = "modules">
<cfset variables["lin.derek.cf.framework"]["defaults"]["circuit"] = "home">
<cfset variables["lin.derek.cf.framework"]["defaults"]["action"] = "welcome">
<!--- 

<cfoutput>
what?: #getContextRoot()#
<br>
<h1>
<pre>
#GetBaseTemplatePath()#
#GetDirectoryFromPath(GetBaseTemplatePath())#
</pre>
</h1>

<cfdump var="#cgi#">
</cfoutput><cfabort>
 --->


<cfset foo = variables["lin.derek.cf.framework"]["functions"].getGoTo(cgi.query_string,variables["lin.derek.cf.framework"]["actionKeyWord"])>
<cfif foo IS NOT "">
	<cfset variables["lin.derek.cf.framework"]["current"]["circuit"]
				= getToken(foo,1,".")>
	<cfset variables["lin.derek.cf.framework"]["current"]["action"]
				= getToken(foo,2,".")>
</cfif>


<cfif NOT structKeyExists(variables["lin.derek.cf.framework"]["current"],"circuit")
		>
	<cfset variables["lin.derek.cf.framework"]["current"]["circuit"] = 
				variables["lin.derek.cf.framework"]["defaults"]["circuit"]>
</cfif>
<cfif NOT structKeyExists(variables["lin.derek.cf.framework"]["current"],"action")>
	<cfset variables["lin.derek.cf.framework"]["current"]["action"] = 
				variables["lin.derek.cf.framework"]["defaults"]["action"]>
</cfif>

<cfinclude template="view.cfm">

